package com.justech.mes.v2.dao.repository;

import com.justech.mes.v2.model.MesFixedAbnormal;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author feifei.li
 */
@Repository
public interface MesFixedAbnormalRepository extends CrudRepository<MesFixedAbnormal, Long> {

    /**
     * 根据班次id查询固定异常
     *
     * @param batchId
     * @return
     */
    List<MesFixedAbnormal> findByBatchId(Long batchId);
}
